<% layout('/layouts/default.html', {title: '', libs: ['validate']}){ %>
<div style="text-align: center">
        <img src="${rtDevice.qrcode}" onclick="dayin()" style="width: 90%;margin-top: 50px;">
    </div>
<% } %>
<script>
    function dayin(){
        window.print();
    }
</script>